/**
 * Address.js
 *
 * @description :: TODO: You might write a short summary of how this model works and what it represents here.
 * @docs        :: http://sailsjs.org/documentation/concepts/models-and-orm/models
 */

module.exports = {

	tableName: "address",

  attributes: {
		id: { 
			type: "integer",
			primaryKey: true,
			autoIncrement: true
		},
		recive_user: { 
			type:"string", 
			defaultsTo: ""
		},
		mobile: {
			type: "string",
			defaultsTo: ""
		},
		location: {
			type: "string",
			defaultsTo: ""
		},
		lat: {
			type: "string",
			defaultsTo: ""
		},
		lng: {
			type: "string",
			defaultsTo: ""
		},
		address: {
			type: "string",
			defaultsTo: ""
		},
		owner: {
			model: "User"
		}
  }



};

